import httpRequest from './http';

/**
 * @desc 登录
 * @param params
 * @returns {Promise<unknown>}
 */
export const loginApi = (params) => httpRequest.post('/user/login', params);
/**
 * 学生注册
 * @param params
 * @returns {Promise<unknown>}
 */
export const registerStudentUser = (params) => httpRequest.post('/user/registerStudentUser', params);
/**
 * @desc 创建一级单位
 * @param params
 * @returns {Promise<unknown>}
 */
export const createFirstLevelDepartment = (params) => httpRequest.post('/department/createFirstLevelDepartment', params);
/**
 * @desc 修改单位
 * @param params
 * @returns {Promise<unknown>}
 */
export const changeDepartmentInfo = (params) => httpRequest.post('/department/changeDepartmentInfo', params);
/**
 * @desc 创建下级单位
 * @param params
 * @returns {Promise<unknown>}
 */
export const createLowerDepartment = (params) => httpRequest.post('/department/createLowerDepartment', params);
/**
 * @desc 获取单位树
 * @param params
 * @returns {Promise<unknown>}
 */
export const getDepartmentTreeList = (params) => httpRequest.post('/department/getDepartmentTreeList', params);

/**
 * @desc 创建管理员
 * @param params
 * @returns {Promise<unknown>}
 */
export const createAdminUser = (params) => httpRequest.post('/superAdminUser/createAdminUser', params);
/**
 * @desc 创建教员
 * @param params
 * @returns {Promise<unknown>}
 */
export const createTeacherUser = (params) => httpRequest.post('/adminUser/createTeacherUser', params);
/**
 * @desc 创建学员
 * @param params
 * @returns {Promise<unknown>}
 */
export const createStudentUser = (params) => httpRequest.post('/adminUser/createStudentUser', params);
/**
 * @desc 创建领导
 * @param params
 * @returns {Promise<unknown>}
 */
export const createLeaderUser = (params) => httpRequest.post('/adminUser/createLeaderUser', params);
/**
 * @desc 创建负责人
 * @param params
 * @returns {Promise<unknown>}
 */
export const createManagerUser = (params) => httpRequest.post('/adminUser/createManagerUser', params);
/**
 * @desc 负责人列表 不分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getManagerUserModelList = (params) => httpRequest.post('/managerUser/getManagerUserModelList', params);
/**
 * @desc 管理员列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getAdminUserModelList = (params) => httpRequest.post('/adminUser/getAdminUserModelList', params);
/**
 * @desc 获取领导列表 不分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getLeaderUserModelList = (params) => httpRequest.post('/leaderUser/getLeaderUserModelList', params);
/**
 * @desc 删除领导
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteLeaderUser = (params) => httpRequest.post('/adminUser/deleteLeaderUser', params);
/**
 * @desc 学员列表 分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getStudentUserModelList = (params) => httpRequest.post('/studentUser/getPagedStudentUserModel', params);
/**
 * @desc 教员列表 分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getTeacherList = (params) => httpRequest.post('/teacherUser/getPagedTeacherUserModel', params);
/**
 * @desc 教员列表 不分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getTeacherUserModelList = (params) => httpRequest.post('/teacherUser/getTeacherUserModelList', params);
/**
 * @desc 督导专家列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getExpertTeacherUserModelList = (params) => httpRequest.post('/teacherUser/getExpertTeacherUserModelList', params);
/**
 * @desc 创建评定对象
 * @param params
 * @returns {Promise<unknown>}
 */
export const createEvaluateObject = (params) => httpRequest.post('/evaluateObject/createEvaluateObject', params);
/**
 * @desc 评定对象列表 分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getPagedEvaluateObjectModel = (params) => httpRequest.post('/evaluateObject/getPagedEvaluateObjectModel', params);
/**
 * @desc 评定对象列表 不分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getEvaluateObjectList = (params) => httpRequest.post('/evaluateObject/getEvaluateObjectList', params);
/**
 * @desc 创建方案浏览
 * @param params
 * @returns {Promise<unknown>}
 */
export const createEvaluatePlan = (params) => httpRequest.post('/evaluatePlan/createEvaluatePlan', params);
/**
 * @desc 方案浏览列表 分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getEvaluatePlanModelList = (params) => httpRequest.post('/evaluatePlan/getEvaluatePlanModelList', params);
/**
 * @desc 创建方案创建题目
 * @param params
 * @returns {Promise<unknown>}
 */
export const createEvaluateQuestion = (params) => httpRequest.post('/evaluateQuestion/createEvaluateQuestion', params);
/**
 * @desc 更新评价题目
 * @param params
 * @returns {Promise<unknown>}
 */
export const updateEvaluateQuestion = (params) => httpRequest.post('/evaluateQuestion/updateEvaluateQuestion', params);
/**
 * @desc 方案创建列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getQuestionModelList = (params) => httpRequest.post('/evaluateQuestion/getQuestionModelList', params);
/**
 * @desc 创建试卷
 * @param params
 * @returns {Promise<unknown>}
 */
export const createEvaluateExam = (params) => httpRequest.post('/evaluateExam/createEvaluateExam', params);
/**
 * @desc 方案浏览
 * @param params
 * @returns {Promise<unknown>}
 */
export const getExamList = (params) => httpRequest.post('/evaluateExam/getExamList', params);
/**
 * @desc 创建评价任务
 * @param params
 * @returns {Promise<unknown>}
 */
export const createEvaluateTask = (params) => httpRequest.post('/evaluateTask/createEvaluateTask', params);
/**
 * @desc 评价任务列表 分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getPagedEvaluateTask = (params) => httpRequest.post('/evaluateTask/getPagedEvaluateTask', params);
/**
 * @desc 我的任务列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getOwnerExamItemList = (params) => httpRequest.post('/evaluateExam/getOwnerExamItemList', params);
/**
 * @desc 我的任务详情
 * @param params
 * @returns {Promise<unknown>}
 */
export const getEvaluateExamItemDetail = (params) => httpRequest.post('/evaluateExam/getEvaluateExamItemDetail', params);
/**
 * @desc 问卷评价
 * @param params
 * @returns {Promise<unknown>}
 */
export const answerEvaluateExamItem = (params) => httpRequest.post('/evaluateExam/answerEvaluateExamItem', params);
/**
 * @desc 获取评定对象排名列表(教员) 不分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getEvaluateObjectRankList = (params) => httpRequest.post('/evaluateObject/getEvaluateObjectRankList', params);
/**
 * @desc 折线统计
 * @param params
 * @returns {Promise<unknown>}
 */
export const getTeacherEvaluateLineChart = (params) => httpRequest.post('/evaluateObject/getTeacherEvaluateLineChart', params);
/**
 * @desc 历史评价列表 分页
 * @param params
 * @returns {Promise<unknown>}
 */
export const getPagedEvaluateObjectModelOfTeacher = (params) => httpRequest.post('/evaluateObject/getPagedEvaluateObjectModelOfTeacher', params);
/**
 * @desc 学年列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getSchoolYearList = (params) => httpRequest.post('/schoolYear/getSchoolYearList', params);
/**
 * @desc 任务提醒
 * @param params
 * @returns {Promise<unknown>}
 */
export const getNoticeModelList = (params) => httpRequest.post('/notice/getNoticeModelList', params);
/**
 * @desc 管理员获取问卷
 * @param params
 * @returns {Promise<unknown>}
 */
export const getExamDetailModel = (params) => httpRequest.post('/evaluateExam/getExamDetailModel', params);
/**
 * @desc 删除管理员
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteAdminUser = (params) => httpRequest.post('/superAdminUser/deleteAdminUser', params);
/**
 * @desc 删除负责人
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteManagerUser = (params) => httpRequest.post('/adminUser/deleteManagerUser', params);
/**
 * @desc 删除学员
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteStudentUser = (params) => httpRequest.post('/adminUser/deleteStudentUser', params);
/**
 * @desc 删除教员
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteTeacherUser = (params) => httpRequest.post('/adminUser/deleteTeacherUser', params);
/**
 * @desc 管理员重置用户密码
 * @param params
 * @returns {*}
 */
export const restUserPassword = (params) => httpRequest.post('/adminUser/restUserPassword', params);
/**
 * @desc 重置自己的密码
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const changeMyPassword = (params) => httpRequest.post('/user/changePassword', params);

/**
 * @desc 修改学生用户
 * @param params
 * @returns {Promise<unknown>}
 */
export const changeStudentUserInfo = (params) => httpRequest.post('/studentUser/changeStudentUserInfo', params);

/**
 * @desc 修改教员
 * @param params
 * @returns {Promise<unknown>}
 */
export const changeTeacherUserInfo = (params) => httpRequest.post('/teacherUser/changeTeacherUserInfo', params);

/**
 * @desc 管理员获取任务完成情况
 * @param params
 * @returns {Promise<unknown>}
 */
export const getTaskUserInfo = (params) => httpRequest.post('/evaluateTask/getTaskUserInfo', params);
/**
 * @desc 修改任务
 * @param params
 * @returns {*}
 */
export const changeEvaluateTaskInfo = (params) => httpRequest.post('/evaluateTask/changeEvaluateTaskInfo', params);
/**
 * @desc
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const changeManagerUserInfo = (params) => httpRequest.post('/managerUser/changeManagerUserInfo', params);
/**
 * @desc 修改领导
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const changeLeaderUserInfo = (params) => httpRequest.post('/leaderUser/changeLeaderUserInfo', params);
/**
 * @desc 修改评定对象
 * @param params
 * @returns {Promise<unknown>}
 */
export const changeEvaluateObjectInfo = (params) => httpRequest.post('/evaluateObject/changeEvaluateObjectInfo', params);
/**
 * @desc 删除评定对象
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteEvaluateObject = (params) => httpRequest.post('/evaluateObject/deleteEvaluateObject', params);
/**
 * @desc 设置默认方案
 * @param params
 * @returns {Promise<unknown>}
 */
export const setDefaultEvaluateExam = (params) => httpRequest.post('/evaluateExam/setDefaultEvaluateExam', params);

/**
 * @desc 下载模板
 * @param params
 * @returns {Promise<unknown>}
 */
export const postDownloadTemplate = (params) => httpRequest.post('/file/postDownloadTemplate', params, '', 'arraybuffer');
/**
 * @desc 导出评价任务相关用户列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const exportTaskUserList = (params) => httpRequest.post('/file/exportTaskUserList', params, '', 'arraybuffer');

/**
 * @desc 新增课程
 * @param params
 * @returns {*}
 */
export const createCourse = (params) => httpRequest.post('/course/createCourse', params);
/**
 * @desc 删除课程
 * @param params
 * @returns {*}
 */
export const deleteCourse = (params) => httpRequest.post('/course/deleteCourse', params);
/**
 * @desc 课程列表分页
 * @param params
 * @returns {*}
 */
export const getPagedCourseList = (params) => httpRequest.post('/course/getPagedCourseList', params);


/**
 * @desc 课程列表不分页
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const getCourseList = (params) => httpRequest.post('/course/getCourseList', params);

/**
 * @desc 修改课程
 * @param params
 * @returns {*}
 */

export const changeCourse = (params) => httpRequest.post('', params);

/**
 * @desc 培训类型列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getTrainingTypeList = (params) => httpRequest.post('/training/getTrainingTypeList', params);

/**
 * @desc 培训类型创建
 * @param params
 * @returns {Promise<unknown>}
 */
export const createTrainingType = (params) => httpRequest.post('/training/createTrainingType', params);
/**
 * @desc 删除培训类型
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteTrainingType = (params) => httpRequest.post('/training/deleteTrainingType', params);
/**
 * @desc 专业方向列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getMajorDirectionList = (params) => httpRequest.post('/training/getMajorDirectionList', params);
/**
 * @desc 创建专业方向
 * @param params
 * @returns {Promise<unknown>}
 */
export const createMajorDirection = (params) => httpRequest.post('/training/createMajorDirection', params);
/**
 * @desc 删除专业方向
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteMajorDirection = (params) => httpRequest.post('/training/deleteMajorDirection', params);
/**
 * @desc 创建运行信息
 * @param params
 * @returns {Promise<unknown>}
 */
export const createRunTrainTaskInfo = (params) => httpRequest.post('/training/createRunTrainTaskInfo', params);
/**
 * @desc 运行信息列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getRunTrainTaskInfoList = (params) => httpRequest.post('/training/getRunTrainTaskInfoList', params);

/**
 * @desc 课程运行列表
 * @param params
 * @returns {*}
 */
export const getRunCourseList = (params) => httpRequest.post('/course/getRunCourseList', params);
/**
 * @desc 创建课程运行信息
 * @param params
 * @returns {*}
 */
export const createRunCourse = (params) => httpRequest.post('/course/createRunCourse', params);
/**
 * @desc 创建教学班
 * @param params
 * @returns {*}
 */
export const createTeachClass = (params) => httpRequest.post('/teach/createTeachClass', params);
/**
 * @desc 教学班列表
 * @param params
 * @returns {*}
 */
export const getTeachClassList = (params) => httpRequest.post('/teach/getTeachClassList', params);
/**
 * @desc 创建督导专家
 * @param params
 * @returns {*}
 */
export const createFullTimeExpert = (params) => httpRequest.post('/adminUser/createFullTimeExpert', params);
/**
 * @desc 督导专家列表
 * @param params
 * @returns {*}
 */
export const getExpertUserModelList = (params) => httpRequest.post('/expertUser/getExpertUserModelList', params);
/**
 * @desc 创建评学对象
 * @param params
 * @returns {*}
 */
export const createStudentObject = (params) => httpRequest.post('/evaluateStudent/createStudentObject', params);
/**
 * @desc 获取评学对象
 * @param params
 * @returns {*}
 */
export const getPagedEvaluateStudentObjectModel = (params) => httpRequest.post('/evaluateStudent/getPagedEvaluateStudentObjectModel', params);

/**
 * @desc 删除评价题目
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const deleteEvaluateQuestion = (params) => httpRequest.post('/evaluateQuestion/deleteEvaluateQuestion', params);
/**
 * @desc 创建评教类型
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const createQuestionCategory = (params) => httpRequest.post('/evaluateQuestion/createQuestionCategory', params);
/**
 * @desc 删除评教类型
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const deleteQuestionCategory = (params) => httpRequest.post('/evaluateQuestion/deleteQuestionCategory', params);
/**
 * @desc 评教类型列表
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const getQuestionCategoryList = (params) => httpRequest.post('/evaluateQuestion/getQuestionCategoryList', params);

/**
 * @desc 听查课列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getListenCheckList = (params) => httpRequest.post('/listenCheck/getListenCheckList', params);
/**
 * @desc 录入听查课
 * @param params
 * @returns {Promise<unknown>}
 */
export const createListenCheck = (params) => httpRequest.post('/listenCheck/createListenCheck', params);
/**
 * @desc 教员评学分数详情
 * @param params
 * @returns {*}
 */
export const getEvaluateStudentDetailList = (params) => httpRequest.post('/evaluateStudent/getEvaluateStudentDetailList', params);
/**
 * @desc 重置评学对象成绩
 * @param params
 * @returns {*}
 */
export const restStudentObjectEvaluate = (params) => httpRequest.post('/evaluateStudent/restStudentObjectEvaluate', params);
/**
 * @desc 获取需创建任务的评定对象列表
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const getTaskEvaluateObjectList = (params) => httpRequest.post('/evaluateObject/getTaskEvaluateObjectList', params);
/**
 * @desc 取消评价任务
 * @param params
 * @returns {*}
 */
export const cancelEvaluateTask = (params) => httpRequest.post('/evaluateTask/cancelEvaluateTask', params);
/**
 * @desc 重评
 * @param params
 * @returns {*}
 */
export const createEvaluateTaskAgain = (params) => httpRequest.post('/evaluateTask/createEvaluateTaskAgain', params);
/**
 * @desc 添加专家到任务
 * @param params
 * @returns {*}
 */
export const addTaskExpert = (params) => httpRequest.post('/evaluateTask/addTaskExpert', params);

/**
 * @desc 分页查询历史导入评教对象
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const getPagedEvaluateResult = (params) => httpRequest.post('/historyEvaluateTeacher/getPagedEvaluateResult', params);
/**
 * @desc 删除历史评教对象
 * @param params
 * @returns {*}
 */
export const deleteEvaluateObjectResult = (params) => httpRequest.post('/historyEvaluateTeacher/deleteEvaluateObjectResult', params);

/**
 * @desc 下载学员评教分数历史数据导入模版
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const downloadHistoryStudentEvaluateScoreTemplate = (params) => httpRequest.post('/file/downloadHistoryStudentEvaluateScoreTemplate', params, '', 'arraybuffer');

/**
 * @desc 下载校专家评教分数历史数据导入模版
 * @param params
 * @returns {*}
 */
export const downloadHistorySchoolExpertEvaluateScoreTemplate = (params) => httpRequest.post('/file/downloadHistorySchoolExpertEvaluateScoreTemplate', params, '', 'arraybuffer');

/**
 * @desc 下载单位评教分数历史数据导入模版
 * @param params
 * @returns {*}
 */
export const downloadHistoryDepartmentEvaluateScoreTemplate = (params) => httpRequest.post('/file/downloadHistoryDepartmentEvaluateScoreTemplate', params, '', 'arraybuffer');

/**
 * @desc 导出评教对象学员评教历史数据
 * @param params
 * @returns {Promise<unknown>}
 */
export const exportHistoryStudentEvaluateResult = (params) => httpRequest.post('/file/exportHistoryStudentEvaluateResult', params, '', 'arraybuffer');

/**
 * @desc 导出全部历史评估
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const exportAllHistoryEvaluateTeacher = (params) => httpRequest.post('/file/exportAllHistoryEvaluateTeacher', params, '', 'arraybuffer');


/**
 * @desc 编辑/更新历史评教对象分数
 * @param params
 * @returns {Promise<unknown>}
 */
export const updateEvaluateResultScore = (params) => httpRequest.post('/historyEvaluateTeacher/updateEvaluateResultScore', params);

/**
 * @desc 获取学员评教评分详情
 * @param params
 * @returns {Promise<unknown>}
 */
export const getStudentEvaluateInfo = (params) => httpRequest.post('/historyEvaluateTeacher/getStudentEvaluateInfo', params);

/**
 * @desc 权重方案列表
 * @param params
 * @returns {Promise<unknown>}
 */
export const getWeightPlanList = (params) => httpRequest.post('/weight/getWeightPlanList', params);

/**
 * @desc 删除权重方案
 * @param params
 * @returns {Promise<unknown>}
 */
export const deleteWeightPlan = (params) => httpRequest.post('/weight/deleteWeightPlan', params);

/**
 * @desc 创建权重方案
 * @param params
 * @returns {Promise<unknown>}
 */
export const createWeightPlan = (params) => httpRequest.post('/weight/createWeightPlan', params);

/**
 * @desc 更新权重方案
 * @param params
 * @returns {Promise<unknown>}
 */
export const updateWeightPlan = (params) => httpRequest.post('/weight/updateWeightPlan', params);

/**
 * @desc 获取单位评教等级比例设置列表
 * @param params
 * @returns {*}
 */
export const getLevelRatioList = (params) => httpRequest.post('/departmentEvaluateLevel/getLevelRatioList', params);

/**
 * @desc 创建单位评教等级比例设置
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export const createLevelRatio = (params) => httpRequest.post('/departmentEvaluateLevel/createLevelRatio', params);

/**
 * @desc 更新单位评教等级比例设置
 * @param params
 * @returns {*}
 */
export const updateLevelRatio = (params) => httpRequest.post('/departmentEvaluateLevel/updateLevelRatio', params);

/**
 * @desc 删除单位评教等级比例设置
 * @param params
 * @returns {*}
 */
export const deleteLevelRatio = (params) => httpRequest.post('/departmentEvaluateLevel/deleteLevelRatio', params);

/**
 * @desc 设置单位评教等级比例是否默认
 * @param params
 * @returns {*}
 */
export const setLevelRatioIsValid = (params) => httpRequest.post('/departmentEvaluateLevel/setLevelRatioIsValid', params);

/**
 * @desc 获取各职称评价结果比例设置列表
 * @param params
 * @returns {*}
 */
export const getRatioForTitleList = (params) => httpRequest.post('/evaluateResultRatioForTitle/getRatioForTitleList', params);

/**
 * @desc 创建各职称评价结果比例设置
 * @param params
 * @returns {*}
 */
export const createRatioForTitle = (params) => httpRequest.post('/evaluateResultRatioForTitle/createRatioForTitle', params);

/**
 * @desc 更新各职称评价结果比例设置
 * @param params
 * @returns {*}
 */
export const updateRatioForTitle = (params) => httpRequest.post('/evaluateResultRatioForTitle/updateRatioForTitle', params);

/**
 * @desc 删除各职称评价结果比例设置
 * @param params
 * @returns {*}
 */
export const deleteRatioForTitle = (params) => httpRequest.post('/evaluateResultRatioForTitle/deleteRatioForTitle', params);

/**
 * @desc 设置各职称评价结果比例是否默认
 * @param params
 * @returns {*}
 */
export const setRatioForTitleIsValid = (params) => httpRequest.post('/evaluateResultRatioForTitle/setRatioForTitleIsValid', params);

/**
 * @desc 获取合格等级确定条件列表
 * @param params
 * @returns {*}
 */
export const getConditionList = (params) => httpRequest.post('/passResultCondition/getConditionList', params);

/**
 * @desc 创建合格等级确定条件
 * @param params
 * @returns {*}
 */
export const createCondition = (params) => httpRequest.post('/passResultCondition/createCondition', params);

/**
 * @desc 更新合格等级确定条件值
 * @param params
 * @returns {*}
 */
export const updateConditionValue = (params) => httpRequest.post('/passResultCondition/updateConditionValue', params);

/**
 * @desc 设置合格等级确定条件是否启用
 * @param params
 * @returns {*}
 */
export const setConditionIsValid = (params) => httpRequest.post('/passResultCondition/setConditionIsValid', params);

/**
 * @desc 获取不合格等级确定条件列表
 * @param params
 * @returns {*}
 */
export const ngetConditionList = (params) => httpRequest.post('/notPassResultCondition/getConditionList', params);

/**
 * @desc 创建不合格等级确定条件
 * @param params
 * @returns {*}
 */
export const ncreateCondition = (params) => httpRequest.post('/notPassResultCondition/createCondition', params);

/**
 * @desc 更新不合格等级确定条件值
 * @param params
 * @returns {*}
 */
export const nupdateConditionValue = (params) => httpRequest.post('/notPassResultCondition/updateConditionValue', params);

/**
 * @desc 设置不合格等级确定条件是否启用
 * @param params
 * @returns {*}
 */
export const nsetConditionIsValid = (params) => httpRequest.post('/notPassResultCondition/setConditionIsValid', params);

/**
 * @desc 计算所有历史评定结论（结论判定）
 * @param params
 * @returns {*}
 */
export const calcAllEvaluateResult = (params) => httpRequest.post('/historyEvaluateTeacher/calcAllEvaluateResult', params);

/**
 * @desc 删除【全部】历史评教对象
 * @param params
 * @returns {*}
 */
export const deleteAllEvaluateObjectResult = (params) => httpRequest.post('/historyEvaluateTeacher/deleteAllEvaluateObjectResult', params);
